package com.ms.orm.dboperator;

import org.springframework.jdbc.core.JdbcTemplate;
import java.sql.ResultSet;

/**
 * @author zdh
 */
public class DefaultDbOperator extends AbstractDbOperator{

    public DefaultDbOperator(JdbcTemplate jdbcTemplate, Class<?> entityType, String tableName) {
        super(jdbcTemplate, entityType, tableName);
    }

    @Override
    public void populateEntityFromResultSet(Object entity, ResultSet rs) {
        DbCommonUtil.setObjectFromResultSetByRow(rs, entity);
    }


}
